<%@page import="com.sun.org.apache.bcel.internal.generic.NEW"%>
<%@ page language="java" import="java.util.*,com.sjw.model.*"  pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>Talk-Zone</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">


<link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
<link rel="stylesheet" href="css/cikonss.css" />
<link rel="stylesheet" href="css/font-awesome.min.css">
<script src="js/jquery-2.0.3.min.js"></script>
<script src="js/bootstrap.min.js"></script>
</head>

<body style="background: url('images/bk.jpg') no-repeat; height: 565px">

	<!-- 首页按钮 -->
	<div style="margin-top: 50; margin-left: 1080">
		<button class="btn btn-success btn-lg" data-toggle="modal"
			data-target="#login">登录</button>
		<button class="btn btn-default btn-lg" data-toggle="modal"
			data-target="#register">注册</button>
	</div>

	<div align="center" style="margin-top: 100">
		<font color=#00ff00 size=20>Welcome to Talk-Zone</font>
	</div>
	<!-- 登录 -->
	<div class="modal fade" id="login" role="dialog"
		aria-labelledby="myModalLabel" aria-hidden="true">
		<div class="modal-dialog">
			<div class="modal-content">
				<form role="form" action="user_login" method="post">
					<div class="modal-header">
						<button type="button" class="close" data-dismiss="modal"
							aria-hidden="true">&times;</button>
						<h4 class="modal-title">登录</h4>
					</div>
					<div class="modal-body">
						<p class="input-group">
							<span class="input-group-addon"><span class="icon-user"></span>
							</span> <input type="text" name="user.username" class="form-control"
								placeholder="请输入用户名" required autofocus>

						</p>
						<p class="input-group">
							<span class="input-group-addon"><span class="icon-key"></span>
							</span> <input type="password" name="user.password" class="form-control"
								placeholder="请输入密码" required>
						</p>
						<div class="switch" data-on="primary" data-off="info">
							<input type="checkbox" checked />
						</div>

					</div>
					<div class="modal-footer">
						<button class="btn btn-lg btn-default" type="submit">
							<i class="icon-unlock"></i>&nbsp;登录
						</button>
						<button class="btn btn-lg btn-primary" type="reset">
							<i class="icon-lock"></i>&nbsp;重置
						</button>
					</div>
				</form>
			</div>
		</div>
	</div>
	<!-- 注册 -->
	<div class="modal fade" id="register" role="dialog"
		aria-labelledby="myModalLabel" aria-hidden="true">
		<div class="modal-dialog">
			<div class="modal-content">
				<form role="form" action="user_registe" method="post">
					<div class="modal-header">
						<button type="button" class="close" data-dismiss="modal"
							aria-hidden="true">&times;</button>
						<h4 class="modal-title">注册</h4>
					</div>
					<div class="modal-body">
						<p class="input-group">
							<span class="input-group-addon"> <span class="icon-user"></span>
							</span> <input type="text" name="user.username" class="form-control"
								placeholder="请输入用户名" required autofocus>

						</p>
						<p class="input-group">
							<span class="input-group-addon"><span class="icon-key"></span>
							</span> <input type="password" name="user.password" class="form-control"
								placeholder="请输入密码" required>
						</p>
						<p class="input-group">
							<span class="input-group-addon"><span class="icon-wrench"></span>
							</span> <input type="password" name="repassword" class="form-control"
								placeholder="请再次输入密码" required>
						</p>
					</div>
					<div class="modal-footer">
						<button class="btn btn-lg btn-default" type="submit">
							<i class="icon-unlock"></i>&nbsp;提交
						</button>
						<button class="btn btn-lg btn-primary" type="reset">
							<i class="icon-lock"></i>&nbsp;重置
						</button>
					</div>
				</form>
			</div>
		</div>
	</div>
</body>



</html>
